package com.joker.orange.domain.bo;

import com.joker.common.core.domain.BaseEntity;
import com.joker.common.core.validate.AddGroup;
import com.joker.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 用户点赞业务对象 t_user_like
 *
 * @author Joker
 * @date 2024-07-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class UserLikeBo extends BaseEntity {

    /**
     * 唯一标识
     */
    @NotNull(message = "唯一标识不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 点赞对象ID
     */
    @NotNull(message = "点赞对象ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long likeTypeId;

    /**
     * 点赞类型（0-网格视频、1-短视频、2-小说、3-漫画、4-动漫）
     */
    @NotBlank(message = "点赞类型（0-网格视频、1-短视频、2-小说、3-漫画、4-动漫）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String likeType;

    /**
     * 备注
     */
    private String remark;


}
